/**
 * @file bsp_adc.h
 * @brief 
 * @author  ()
 * @version 1.0
 * @date 2024-09-13
 * @ingroup bsp
 * @copyright Copyright (C) 2019 Queclink Wireless Solutions (ShenZhen) Co., Ltd. All Rights Reserved.
 * 
 * @par 修改日志:
 * <table>
 * <tr><th>Date       <th>Version <th>Author  <th>Description
 * <tr><td>2024-09-13 <td>1.0     <td>     <td>内容
 * </table>
 */
#ifndef __BSP_ADC_H
#define __BSP_ADC_H

#include <stdint.h>


#ifdef __cplusplus
extern "C" {
#endif

/* Function declaration */
void bsp_adc_init(void);
/**
 * @brief 获取硬件版本检测ADC电压值
 * @param  timeout          My Param doc
 * @return uint32_t 
 */
uint32_t bsp_adc_getvalue(uint32_t timeout);
/**
 * @brief 使能硬件版本ADC输出
 * @param  status           My Param doc
 */
void bsp_adc_enable(uint8_t status);

#ifdef __cplusplus
}
#endif



#endif